.class Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable$1;
.super Lcom/burstly/lib/network/request/CurrencyRequestTask;
.source "RequestBalanceResetRunnable.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/burstly/lib/network/request/CurrencyRequestTask",
        "<",
        "Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;


# direct methods
.method constructor <init>(Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;Ljava/lang/Object;Ljava/lang/Class;)V
    .locals 0
    .parameter
    .parameter "x0"
    .parameter

    .prologue
    .line 96
    .local p3, x1:Ljava/lang/Class;,"Ljava/lang/Class<Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;>;"
    iput-object p1, p0, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable$1;->this$0:Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;

    invoke-direct {p0, p2, p3}, Lcom/burstly/lib/network/request/CurrencyRequestTask;-><init>(Ljava/lang/Object;Ljava/lang/Class;)V

    return-void
.end method


# virtual methods
.method protected performInBackground()Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;
    .locals 8

    .prologue
    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 99
    invoke-super {p0}, Lcom/burstly/lib/network/request/CurrencyRequestTask;->performInBackground()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;

    .line 100
    .local v0, responseBean:Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;
    sget-object v1, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;->TAG:Ljava/lang/String;

    const-string v3, "Reset balance object is : {0}"

    new-array v4, v7, [Ljava/lang/Object;

    aput-object v0, v4, v6

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 101
    if-eqz v0, :cond_0

    .line 102
    sget-object v1, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;->TAG:Ljava/lang/String;

    const-string v3, "Reset request finished with \"{0}\" code and \"{1}\" message."

    const/4 v4, 0x2

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v0}, Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;->getStatusCode()Ljava/lang/String;

    move-result-object v5

    aput-object v5, v4, v6

    invoke-virtual {v0}, Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;->getMessage()Ljava/lang/String;

    move-result-object v5

    aput-object v5, v4, v7

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 105
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable$1;->this$0:Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;

    invoke-virtual {v1}, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable;->onResetFinished()V

    .line 106
    const/4 v1, 0x0

    return-object v1
.end method

.method protected bridge synthetic performInBackground()Ljava/lang/Object;
    .locals 1

    .prologue
    .line 96
    invoke-virtual {p0}, Lcom/burstly/lib/currency/request/RequestBalanceResetRunnable$1;->performInBackground()Lcom/burstly/lib/currency/request/AccountBalanceChangeResponse;

    move-result-object v0

    return-object v0
.end method
